package com.ght.springboot.elasticsearch.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;

/**
 * @description:
 * @author: haitao.gao
 * @create: 2019-01-29 15:42
 **/
@Data
@JsonInclude(JsonInclude.Include.NON_NULL)
public class BaseMapping<T extends Properties> {

    private T properties;

    public BaseMapping(T properties){
        this.properties = properties;
    }
}
